package rht

type ParamsList struct {
	ID     uint64 `json:"id" form:"id" xml:"id" yaml:"id" bson:"id" query:"id"`
	Page   int    `json:"page" validate:"required,min=1" form:"page" xml:"page" yaml:"page" bson:"page" query:"page"`
	Size   int    `json:"size" validate:"required,min=1,max=10000" form:"size" xml:"size" yaml:"size" bson:"size" query:"size"`
	GetAll bool   `json:"get_all" form:"get_all" xml:"get_all" yaml:"get_all" bson:"get_all" query:"get_all"`
}

type ParamsID struct {
	ID uint64 `json:"id" validate:"required,min=1" form:"id" xml:"id" yaml:"id" bson:"id" query:"id"`
}
